const options = [
    {label: '是', value: 1},
    {label: '否', value: 0},
];
const expireButtonData = [
    {
        label: '已到期',
        value: 0,
    },
    {
        label: '1个月内',
        value: 1,
    },
    {
        label: '1-2月',
        value: 2,
    },
    {
        label: '2-3月',
        value: 3,
    },
    {
        label: '3-6月',
        value: 4,
    }
];
const checkBoxInfo = [
    {label: '全版权', value: 1, disabled: false},
    {label: '信息网络传播权', value: 2, disabled: false},
    {label: '实体出版权', value: 3, disabled: false},
    {label: '有声版权', value: 4, disabled: false},
    {label: '漫画版权', value: 5, disabled: false},
    {label: '游戏版权', value: 6, disabled: false},
    {label: '影视版权', value: 7, disabled: false}
];
const menus = [
    {
        "operationId": 100000,
        "operationName": "资源管理",
        "operationBeans": [],
        "menuUrl": "/home/resource/resource-list"
    },
    {
        "operationId": 110000,
        "operationName": "版权管理",
        "operationBeans": [
            {
                "operationId": 110100,
                "operationName": "原创版权",
                "parentOperationId": 110000,
                "operationBeans": [],
                "menuUrl": "/home/copyright/original-list"
            },
            {
                "operationId": 110200,
                "operationName": "出版版权",
                "parentOperationId": 110000,
                "operationBeans": [],
                "menuUrl": "/home/copyright/publish-list"
            },
            {
                "operationId": 110300,
                "operationName": "授权单位",
                "parentOperationId": 110000,
                "operationBeans": [],
                "menuUrl": "/home/copyright/authorized"
            },
            {
                "operationId": 110400,
                "operationName": "出库单",
                "parentOperationId": 110000,
                "operationBeans": [
                    {
                        "operationId": 110500,
                        "operationName": "出库单作品列表",
                        "parentOperationId": 110400,
                        "operationBeans": [],
                        "menuUrl": "/home/copyright/outbound-list"
                    }
                ],
                "menuUrl": "/home/copyright/appear-store"
            }
        ]
    },
    {
        "operationId": 120000,
        "operationName": "到期提醒",
        "operationBeans": [
            {
                "operationId": 120100,
                "operationName": "原创到期",
                "parentOperationId": 120000,
                "operationBeans": [],
                "menuUrl": "/home/expire-remind/original"
            },
            {
                "operationId": 120200,
                "operationName": "出版到期",
                "parentOperationId": 120000,
                "operationBeans": [],
                "menuUrl": "/home/expire-remind/publishing"
            },
            {
                "operationId": 120300,
                "operationName": "出库到期",
                "parentOperationId": 120000,
                "operationBeans": [],
                "menuUrl": "/home/expire-remind/outbound"
            }
        ]
    },
    {
        "operationId": 130000,
        "operationName": "暂存架",
        "operationBeans": [
            {
                "operationId": 130100,
                "operationName": "资源暂存架",
                "parentOperationId": 130000,
                "operationBeans": [],
                "menuUrl": "/home/temporary-shelf/resource-temporary-shelf-list"
            },
            {
                "operationId": 130200,
                "operationName": "版权暂存架",
                "parentOperationId": 130000,
                "operationBeans": [],
                "menuUrl": "/home/temporary-shelf/copyright-temporary-shelf-list"
            },
            {
                "operationId": 130300,
                "operationName": "我的申请单",
                "parentOperationId": 130000,
                "operationBeans": [],
                "menuUrl": "/home/temporary-shelf/requisition-list"
            }
        ]
    },
    {
        "operationId": 140000,
        "operationName": "系统管理",
        "operationBeans": [
            {
                "operationId": 140100,
                "operationName": "用户管理",
                "parentOperationId": 140000,
                "operationBeans": [],
                "menuUrl": "/home/system/user-list"
            },
            {
                "operationId": 140200,
                "operationName": "角色管理",
                "parentOperationId": 140000,
                "operationBeans": [],
                "menuUrl": "/home/system/role-list"
            }
        ]
    }
];
const exclusive = [
    {label: '非独家', value: 0},
    {label: '独家', value: 1},
];
const exportTypeEnum = {
    resource: 1,
    originalCopyright: 2,
    authorizedUnit: 4,
    publishingCopyright: 6,
    appearStore: 5,
    originalExpire: 8,
    publishExpire: 9,
    otbExpire: 10,
    publishChannel:12,
    originalChannel:13,
};
const columnName = {
    resource: ["resourceName",
        "resourceType",
        "isbnNum",
        "bookNum",
        "authorPenName",
        "authorRealName",
        "channel",
        "firstClass",
        "secondClass",
        "chargeEditor",
        "pressName",
        "publishDate",
        "edition",
        "impression",
        "wordCount",
        "bookState",
        "price",
        "bookSeries",
        "intro",
        "remark"],
    originalCopyright: [
        "bookNum",
        "resourceName",
        "authorPenName",
        "authorRealName",
        "channel",
        "firstClass",
        "secondClass",
        "remuneration",
        "contractDate",
        "contractType",
        "approvalState",
        "shareRatio",
        "introduceDate",
        "productionLink",
        "productionState",
        "copyrightType",
        "startDate",
        "endDate"
    ],
    publishingCopyright: [
        "isbnNum",
        "resourceName",
        "bookNum",
        "authorPenName",
        "authorRealName",
        "contractType",
        "shareRatio",
        "approvalState",
        "introduceDate",
        "pressName",
        "publishDate",
        "chargeEditor",
        "language",
        "copyrightType",
        "startDate",
        "endDate",
        "edition",
        "impression",
        "price",
        "bookSize",
        "graphicDesign",
        "pageNum",
        "intro",
        "bookSeries",
        "contentChannels",
        "firstClass",
        "secondClass",
        "remark"
    ],
    authorizedUnit: [
        "orgName",
        "contactName",
        "contactPhone",
        "orgSite",
        "remark"
    ],
    publishChannel:[
        "resourceName",
        "isbnNum",
        "returnMoneyTime",
        "contentChannel",
        "saleChannel",
        "pointIncome",
        "monthIncome",
        "otherIncome",
        "totalIncome",
        "remark",   
    ],
    originalChannel:[
        "channelName",
        "channelCompany",
        "upCount",
        "returnMoneyTime",
        "lastMonthIncome",
        "thisMonthIncome",
        "incomeBeforeThree",
        "weekNewUp",
        "incomeAnalyse",
        "remark",
    ],
    appearStore: [
        "orderNumber",
        "title",
        "outboundOrgName",
        "outboundCopyrightType",
        "conferStartDate",
        "conferEndDate",
        "contractType",
        "contractCost",
        "shareRatio",
        "approvalState",
        "remark"
    ],
    publishExpireExport: ["resourceName", "isbnNum", "authorPenName", "pressName", "propertyName", "endTime"],
    otbExpireExport: ["orderNumber", "outboundOrgName", "conferStartDate", "endTime", "propertyName"],
    originalExpireExport: [
        "resourceName",
        "bookNum",
        "authorPenName",
        "copyrightType",
        "startDate",
        "dueDate"
    ],
};
const downloadTemplate = {
    originalResource: 'templates/OriginalResourceImportTemplate.xlsx',
    publishingResource: 'templates/PublishingResourceImportTemplate.xlsx',
    authorizedUnit: 'templates/AuthorizedCompanyImportTemplate.xlsx',
    originalCopyright: 'templates/OriginalCopyrightImportTemplate.xlsx',
    publishingCopyright: 'templates/PublishingCopyrightImportTemplate.xlsx',
    outbound:'templates/OutboundImportTemplate.xlsx',
    OutboundDetailImportTemplate:'templates/OutboundDetailImportTemplate.xlsx',
    publishChannel:'templates/publishChannelTemplate.xlsx',
    originalChannel:'templates/originalChannelTemplate.xlsx',
};


const dataSet = [
    {
        orgName: 1212121,
        contactName: "1212",
        contactPhone: "12121212",
        orgSite: "现代言情",
        remark: "92ecf3b8009549b382fae62d090937ac",
        description: 'My name is John Brown, I am 32 years old, living in New York No. 1 Lake Park.',
    }, {
        orgName: 1212121,
        contactName: "1212",
        contactPhone: "12121212",
        orgSite: "现代言情",
        remark: "92ecf3b8009549b382fae62d090937ac",
    },
    {
        orgName: 12222222,
        contactName: "1212",
        contactPhone: "12121212",
        orgSite: "现代言情12",
        remark: "92ecf3b8009549b382fae62d090937ac",
    }
];

export default {
    options, //是否的下拉框选择
    checkBoxInfo,
    exclusive,
    dataSet,
    exportTypeEnum,
    columnName,
    downloadTemplate,
    expireButtonData,
    menus,
}
